#include "winClassMain.h"

winClassMain::winClassMain(LPCTSTR lpszClassNameCL, LRESULT (WINAPI *pWndProcCL)(HWND,UINT,WPARAM,LPARAM),HINSTANCE hInstanceCL, LPCTSTR lpszMenuNameCL,
        UINT styleCL, HBRUSH hbrBackgroundCL, int cbClsExtraCL, int cbWndExtraCL, HICON hIconCL, HCURSOR hCursorCL, HICON hIconSmCL)
{
    wc.cbSize = sizeof(wc);
    wc.style = styleCL;
    wc.cbClsExtra = cbClsExtraCL;
    wc.cbWndExtra = cbWndExtraCL;
    wc.hbrBackground = hbrBackgroundCL;
    wc.hCursor = hCursorCL;
    wc.hIcon = hIconCL;
    wc.hIconSm = hIconSmCL;
    wc.hInstance = hInstanceCL;
    wc.lpfnWndProc = pWndProcCL;
    wc.lpszClassName = lpszClassNameCL;
    wc.lpszMenuName = lpszMenuNameCL;
    RegisterClassEx(&wc);
}